package a.g.a;

import a.e.k;
import a.e.n;
import a.e.u;
import a.h.dc;
import a.j.db;
import a.j.g;
import a.j.jb;
import a.j.pg;

public class m
  extends f
{
  private static final String P = "JPG_OUTPUT";
  private static final String Q = "JPG";
  private static final String R = "QUALITY";
  private static final String S = "ANTIALIASING";
  private u T = new u();
  public static int U;
  
  public m()
  {
    super("JPG_OUTPUT", "[RW]", "JPG Export");
  }
  
  protected dc j()
  {
    dc localdc = new dc("JPG_OUTPUT");
    localdc.l("VIEWPORT");
    b(localdc);
    localdc.l("JPG");
    localdc.a("QUALITY", 75, 1, 100);
    localdc.a("ANTIALIASING", true);
    d(localdc);
    localdc.l("TILING");
    c(localdc);
    return localdc;
  }
  
  protected k y()
  {
    return new n();
  }
  
  protected void n()
  {
    boolean bool = a.M;
    n localn = (n)v();
    g localg = e();
    pg localpg1 = localn.a(localg);
    pg localpg2 = g();
    localg.a(localpg1);
    a(localpg1, localpg2);
    localpg1.a(localpg2.W());
    dc localdc = i();
    localn.a(0.01F * localdc.e("QUALITY"));
    localn.b(localdc.g("ANTIALIASING"));
    w();
    x();
    db localdb = localpg2.Y();
    if ((bool) || ((localdb instanceof jb)))
    {
      jb localjb = (jb)localdb;
      localjb.a(localpg1);
      localpg1.a(localjb);
      super.n();
      localjb.a(localpg2);
      if (bool) {
        return;
      }
      if (!a.L) {}
    }
    else
    {
      super.n();
    }
    a(localn);
    localg.c(localg.fb());
    localg.a(localpg2);
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.g.a.m
 * JD-Core Version:    0.7.0.1
 */